#!/bin/bash
#========================================================================
# Author: YSLin
# Email: 
# File Name: set.sh
# Description: 
#    取消變數的定義   
# Edit History: 
#   2011-04-30    File created.
#========================================================================


# 將值設定到foo裡面
foo="bar"
echo "Before unset: $foo"

# 取消foo
unset foo
echo " After unset: $foo"

# 環境變數也可以取消
unset PATH
ls
